/* pages/mine/evaluate/evaluate.wxss */
.evaluate-container {
  padding: 20rpx;
  background-color: #fff;

  // 奖励提示
  .tip-bar {
    display: flex;
    align-items: center;
    padding: 16rpx;
    background: #fdf6cc;
    border-radius: 8rpx;

    .tip-text {
      font-size: 26rpx;
      color: #333;
    }
    .reward-tag {
      margin-left: 6rpx;
      font-size: 28rpx;
      color: #0aa573;
    }
  }

  // 媒体上传区
  .media-area {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20rpx;
    .image-item {
      position: relative;
      width: 200rpx;
      height: 200rpx;
      margin: 0 16rpx 16rpx 0;
      border-radius: 8rpx;
      overflow: hidden;
      .uploaded-img {
        width: 100%;
        height: 100%;
      }
      .delete-btn {
        position: absolute;
        top: -10rpx;
        right: -10rpx;
        width: 30rpx;
        height: 30rpx;
        background: #fff;
        border-radius: 50%;
        text-align: center;
        line-height: 40rpx;
        font-size: 28rpx;
        color: #999;
        box-shadow: 0 0 10rpx rgba(0,0,0,0.2);
        z-index: 10;
      }
    }

    // 图片上传区
    .upload-btn {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 200rpx;
      height: 200rpx;
      margin: 0 16rpx 16rpx 0;
      border: 2rpx dashed #ccc;
      border-radius: 8rpx;
      background: #f8f8f8;
      .icon {
        width: 60rpx;
        height: 60rpx;
        margin-bottom: 12rpx;
      }
      .btn-text {
        font-size: 24rpx;
        color: #999;
      }
      // &.video-btn {
      //   // 可扩展视频按钮差异化样式
      // }
    }
  }

  // 错误提示
  .error-tip {
    margin-top: 8rpx;
    font-size: 24rpx;
    color: #f00;
  }

  // 评分区
  .rating-section {
    display: flex;
    align-items: center;
    margin-top: 30rpx;
    // 商品图片
    .product-thumb {
      width: 80rpx;
      height: 80rpx;
      border-radius: 10rpx;
      margin-right: 16rpx;
    }
    .rating-desc {
      flex: 1;
      .rating-title {
        font-size: 28rpx;
        color: #333;
        margin-bottom: 12rpx;
        display: block;
      }
      .star-group {
        display: flex;
        align-items: center;
        .star-item {
          margin-right: 8rpx;
          .star-icon {
            width: 40rpx;
            height: 40rpx;
          }
        }
        .star-label {
          margin-left: 12rpx;
          font-size: 24rpx;
          color: #666;
        }
      }
    }
  }

  // 内容输入
  .content-box {
    width: 100%;
    height: 200rpx;
    margin-top: 30rpx;
    padding: 16rpx;
    border: 2rpx solid #eee;
    border-radius: 8rpx;
    font-size: 24rpx;
    box-sizing: border-box;
  }

  // 操作区
  .submit-btn {
    margin-top: 80rpx;
    background: #b3885a;
    color: #fff;
    font-size: 32rpx;
    padding: 20rpx 0;
    border-radius: 20rpx;
    width: 600rpx;
  }

  // 操作区——匿名评价
  .anonymous-row {
    display: flex;
    align-items: center;
    margin-top: 16rpx;
    .anonymous-check {
      margin-right: 8rpx;
    }
    .anonymous-text {
      font-size: 24rpx;
      color: #666;
    }
  }
}